A simple mod that when you hit f1 gives or takes away your invincibility.

pay the file like this in your game folder